<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/7/3 0003
 * Time: 上午 8:57
 */

Route::group(['namespace' => 'User' ,'prefix' => '/api/'], function () {
    //
    Route::post('login', 'UserController@login');
});

Route::group(['middleware' => ['verify'], 'namespace' => 'User', 'prefix' => '/api/'], function (){
    Route::post('updatePassword', 'UserController@updatePassword');
});